package cn.laixueit.service;

import cn.laixueit.exception.StudentException;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

@Service
public class StudentService {

    public Map<String,Object> findById(Integer id){
        HashMap<String, Object> map = null;
        map = new HashMap<>();
        if(id == 0){
            int i = 1/0;
        }
        return map;
    }

    public void selectAll()  {
        System.out.println("123");
        int i =1/0;
    }
}
